package org.example;


import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;


@SpringBootApplication
@MapperScan("org.example.mapper.**")
@ComponentScan(basePackages = {"org.example"})
@EnableDiscoveryClient
@EnableCaching
public class GitEggSystemApplication {

    public static void main(String[] args) {

        SpringApplication.run(GitEggSystemApplication.class,args);
        System.out.println("Hello world!");
    }
}